
import java.awt.Color;
import java.sql.SQLException;
import javax.swing.UIManager;

/**
 *
 * @author ZORGUI Marwen
 */
public class Nettrading {

    public static void main(String[] args) throws SQLException {
        // Set Nimbus Look and Feel

        try {
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
       }
        catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Nettrading.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
       UIManager.put("nimbusBase", Color.pink);
        UIManager.put("nimbusBlueGrey", Color.pink);
        // UIManager.put("nimbusBlueGrey", new Color(151, 100, 51));
        //UIManager.put("nimbusBlueGrey", Color.CYAN);
       UIManager.put("control", new Color(240, 240, 240));
        
        // Etablir la connecion 
        
        
        DbManip.connexion();
       
       
   // Acceuil ac = new Acceuil();
   //ac.setVisible(true);   
   //Administration adm =new Administration();
   //adm.setVisible(true);     
        // DbManip.recupererDeuxChampDUnId("client", "prenom_client", "NOM_CLIENT", "ID_CLIENT", "1");
        /*
         * DbManip.requete=" select * from test";
         * DbManip.executer(DbManip.requete); while(DbManip.rs.next()) {
         * Date d= DbManip.rs.getTimestamp(2); Timestamp date = new
         * java.sql.Timestamp(d.getTime()); System.out.println("test "+date.after(currentTimestamp));
         */
      
        AcceuilTrader ac = new AcceuilTrader();
        ac.setVisible(true);
       
      
        


    }
}